package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.system.utils.LabelObj;
import lombok.Data;
import org.springframework.data.annotation.Transient;

import java.util.ArrayList;
import java.util.List;

@Data
public class RxOrderVo {
    //订单号
    @Excel(name = "订单编号")
    private String serial;

    @Excel(name = "姓名")
    private String name;
    //订单号码
    private String telNumber;
    //号码仓
    private String title;
    //分销商户
    private String businessName;
    //维系人
    private String trueName;
    //下单时间
    @Excel(name = "添加时间")
    private Long time;
    //外部状态
    private String douDianStatus;
    //状态
    private String state;
    private String receiveOrderUserId;
    //主键
    private String id;

    //标签1
    private String labelType;
    //标签2
    private String defineLabel;
    //对应标签1的值
    private String labelNotes;
    //对应标签2的值
    private String defineLabelNotes;
    //合并标签
    @Transient
    private List<LabelObj> labelObjs;

    @Transient
    private String content;

    @Transient
    private String followTime;

    @Transient
    private String orderId;

    //实名人id
    private Long manageId;
    //实名人
    private String manageName;
    //实名时间
    private Long authTime;
    //是否激活1未激活2已激活
    private int isActivation;
    //激活时间
    private Long activationTime;
    //实名标签
    private String authTag;
    //激活标签
    private String activationTag;

    private List<String> otherTag = new ArrayList<>();

    private int emergentStatus;

    private Long rovercount;

    private String hjfLabelNotes;

    private String areaId;

    private String channelName;
    private String contactUser;

    private String evidenceChainTag;

    private String customName;

//    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
//    public Date getTime() {
//        return new Date(time*1000);
//    }

}
